import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
	state: {
		//歌单歌曲信息
		songInfo: {},
		//搜索歌曲信息
		searchInfo: []
	},
	mutations: {
		getSongInfo(state, songInfo) {
			state.songInfo = songInfo
		},
		updataSearch(state, searchInfo) {
			state.searchInfo = searchInfo
		}
	},
	actions: {
		
	},
	modules: {
		
	}
})